package dog.panhu.keyworddemo.application;

import android.app.Application;
import jackmego.com.jieba_android.JiebaSegmenter;

/**
 * @author xiexiupu@live.com
 * @version 1.0.0
 * @ClassName PanhuApplication.java
 * @Description TODO
 * @createTime 2023年06月12日 19:36:00
 */
public class PanhuApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        initAnalysis();
    }

    private void initAnalysis() {
        // 异步初始化
        JiebaSegmenter.init(getApplicationContext());
    }
}
